import request from './axios'

export function getTopBanners(){
    return request({
        url:"/banner"
    })
}

export function getHotRecomends(){
    return request({
        url:"/personalized"
    })
}

export function getNewAlbums(limit,offset){
    return request({
        url:"/top/album",
        params:{
            limit,
            offset
        }
    })
}

export function getTopdatas(idx){
    return request({
        url:"/top/list",
        params:{
            idx
        }
    })
}

export function getArtistList(limit,cat){
    return request({
        url: "/artist/list",
        params: {
          cat,
          limit
        }
    })
}